<%template _header%>
<%namespace YouHP.Model%>
<%namespace YouHP.Model.Group%>
<%namespace YouHP.Utility%>

<div class="layout-cols2">

		
<%csharp%>TempUrl = ModuleCtrl.Header4("WebNews","网站公告列表",false,false); <%/csharp%>
{TempUrl}
			    
			 <div class="toptopiclist">
                <%csharp%>foreach(NewsInfo item in NewsDataList) { <%/csharp%>
                  
             <li style="margin-bottom:5px;">
                <%csharp%> TempUrl = "/WebNews.aspx?id="+item.Id; <%/csharp%>
                
                <a href="{this.GetUrl(TempUrl)}" style=" font-weight:bold; font-size:15px; color:Green"><%if item.Title.Length<=50%>{item.Title}<%else%>{item.Title.Substring(0,50)}...<%/if%></a>
               <font style="color:#666666;">({item.LastUpdateTime.ToString("yyyy-MM-dd")})</font>&nbsp;&nbsp;
              </li>
              
               <%csharp%>}<%/csharp%>
           </div>    
                 

			<div style="padding:5px;">
				<div class="pages">
					{PagingString}
				</div>
			</div>

			    				
<%csharp%>TempUrl = ModuleCtrl.Footer("WebNews"); <%/csharp%>
{TempUrl}
		

	
</div>

<%template _footer%>		
